import java.util.List;

public abstract class AbstractObjectList {
    protected List<Object> objects;


    public AbstractObjectList() {}
    public AbstractObjectList(List<Object> list) {
        this.objects = list;
    }

    public void addObject(Object obj) {
        this.objects.add(obj);
    }

    public void removeObject(Object obj) {
        this.objects.remove(obj);
    }

    public List<Object> getObjects() {
        return objects;
    }

    public AbstractIterator createIterator() {
        return null;
    }
}
